package com.qingke.oms.pojo;

import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
@Entity
@Table(name="shelf_status")
public class ShelfStatus {
	@Id
	@Column(name="id")
	private int id;
	
	@Column(name="status")
	private String status;
	
	@OneToMany(mappedBy="shelfStatus",fetch=FetchType.LAZY)
	private Set<ShelfRecord> shelfRecords;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Set<ShelfRecord> getShelfRecords() {
		return shelfRecords;
	}
	public void setShelfRecords(Set<ShelfRecord> shelfRecords) {
		this.shelfRecords = shelfRecords;
	}
	
}
